/*
 * Copyright 2011 Andrew Reyes
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

#ifndef _DISPLAYDIALOG_H_
#define _DISPLAYDIALOG_H_

/* Display tab element IDs */
#define DISPLAYTAB_DLG               300
#define DISPLAYTAB_CAPTION           301

/* Device frame */
#define DISPLAYTAB_DEVICE            310
#define DISPLAYTAB_NAMELABEL         311
#define DISPLAYTAB_MFGLABEL          312
#define DISPLAYTAB_CHIPLABEL         313
#define DISPLAYTAB_DACLABEL          314
#define DISPLAYTAB_MEMLABEL          315
#define DISPLAYTAB_MODELABEL         316
#define DISPLAYTAB_MONITORLABEL      317
#define DISPLAYTAB_NAMEDATA          321
#define DISPLAYTAB_MFGDATA           322
#define DISPLAYTAB_CHIPDATA          323
#define DISPLAYTAB_DACDATA           324
#define DISPLAYTAB_MEMDATA           325
#define DISPLAYTAB_MODEDATA          326
#define DISPLAYTAB_MONITORDATA       327

/* Drivers frame */
#define DISPLAYTAB_DRIVERS           330
#define DISPLAYTAB_DRIVERLABEL       331
#define DISPLAYTAB_VERSIONLABEL      332
#define DISPLAYTAB_DATELABEL         333
#define DISPLAYTAB_WHQLLABEL         334
#define DISPLAYTAB_MINILABEL         335
#define DISPLAYTAB_VDDLABEL          336
#define DISPLAYTAB_DDILABEL          337
#define DISPLAYTAB_DRIVERDATA        341
#define DISPLAYTAB_VERSIONDATA       342
#define DISPLAYTAB_DATEDATA          343
#define DISPLAYTAB_WHQLDATA          344
#define DISPLAYTAB_MINIDATA          345
#define DISPLAYTAB_VDDDATA           346
#define DISPLAYTAB_DDIDATA           347

/* Features frame */
#define DISPLAYTAB_FEATURES          350
#define DISPLAYTAB_DDRAWLABEL        351
#define DISPLAYTAB_D3DLABEL          352
#define DISPLAYTAB_AGPLABEL          353
#define DISPLAYTAB_DDRAWDATA         361
#define DISPLAYTAB_D3DDATA           362
#define DISPLAYTAB_AGPDATA           363
#define DISPLAYTAB_DDRAWBTN          371
#define DISPLAYTAB_D3DBTN            372
#define DISPLAYTAB_AGPBTN            373
#define DISPLAYTAB_DDRAWTEST         381
#define DISPLAYTAB_D3DTEST           382

/* Notes frame */
#define DISPLAYTAB_NOTES             390
#define DISPLAYTAB_NOTESEDIT         391

/* Strings */
#define STRING_DLG_DSP_DEVICE        (DLG_DISPLAY_STRING_START+00)
#define STRING_DLG_DSP_NAMELABEL     (DLG_DISPLAY_STRING_START+01)
#define STRING_DLG_DSP_MFGLABEL      (DLG_DISPLAY_STRING_START+02)
#define STRING_DLG_DSP_CHIPLABEL     (DLG_DISPLAY_STRING_START+03)
#define STRING_DLG_DSP_DACLABEL      (DLG_DISPLAY_STRING_START+04)
#define STRING_DLG_DSP_MEMLABEL      (DLG_DISPLAY_STRING_START+05)
#define STRING_DLG_DSP_MODELABEL     (DLG_DISPLAY_STRING_START+06)
#define STRING_DLG_DSP_MONITORLABEL  (DLG_DISPLAY_STRING_START+07)

#define STRING_DLG_DSP_DRIVERS       (DLG_DISPLAY_STRING_START+10)
#define STRING_DLG_DSP_DRIVERLABEL   (DLG_DISPLAY_STRING_START+11)
#define STRING_DLG_DSP_VERSIONLABEL  (DLG_DISPLAY_STRING_START+12)
#define STRING_DLG_DSP_DATELABEL     (DLG_DISPLAY_STRING_START+13)
#define STRING_DLG_DSP_WHQLLABEL     (DLG_DISPLAY_STRING_START+14)
#define STRING_DLG_DSP_MINILABEL     (DLG_DISPLAY_STRING_START+15)
#define STRING_DLG_DSP_VDDLABEL      (DLG_DISPLAY_STRING_START+16)
#define STRING_DLG_DSP_DDILABEL      (DLG_DISPLAY_STRING_START+17)

#define STRING_DLG_DSP_FEATURES      (DLG_DISPLAY_STRING_START+20)
#define STRING_DLG_DSP_DDRAWLABEL    (DLG_DISPLAY_STRING_START+21)
#define STRING_DLG_DSP_D3DLABEL      (DLG_DISPLAY_STRING_START+22)
#define STRING_DLG_DSP_AGPLABEL      (DLG_DISPLAY_STRING_START+23)

#define STRING_DLG_DSP_DDRAWBTN      (DLG_DISPLAY_STRING_START+30)
#define STRING_DLG_DSP_D3DBTN        (DLG_DISPLAY_STRING_START+31)
#define STRING_DLG_DSP_AGPBTN        (DLG_DISPLAY_STRING_START+32)
#define STRING_DLG_DSP_DDRAWTEST     (DLG_DISPLAY_STRING_START+33)
#define STRING_DLG_DSP_D3DTEST       (DLG_DISPLAY_STRING_START+34)

#define STRING_DLG_DSP_NOTES         (DLG_DISPLAY_STRING_START+40)

/* Don't include below in the RC compilation */
#ifndef RC_INVOKED
#include "resources.h"
#include "dxdiagcom.h"
#include "tab.h"
#include <windows.h>

/* Function declarations */
VOID CreateDisplayTabDialog(Tab * tab,
                            DxDiag_DisplayDevice * displayDevice);

#endif
#endif
